import { getData, postData } from '../../untils/request';


// 点赞
export async function addLiked(data) {
    const result = await postData(`/liked/add`, data);
    return result;
}

// 取消点赞
export async function cancelLiked(data) {
    const result = await postData(`/liked/cancel`, data);
    return result;
}